<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
		<title></title>
		<script>
			for(var x = 2; x < 1000; x++){
				for(var i = 2; i * i <= x; i++){
					if(x % i == 0){
						break;
					}
				}
				if(i * i > x){
					console.log(x);
				}
			}
		</script>
	</head>
	<body>
		
	</body>
</html>
